﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

using GodHelper.Models;

public class FilterController : Controller
{
    /// <summary>
    /// 过滤
    /// </summary>
    
    //public UserModel Instance_UserModel { get; set; }

    //protected override void OnActionExecuting(ActionExecutingContext filterContext)
    //{
    //    base.OnActionExecuting(filterContext);
    //    //UserInfo = Session["Useremail"] as UserModel;

    //    Instance_UserModel = new UserModel { UserEmail = Session["Useremail"].ToString() }; 

    //    //没登陆，跳回登录界面
    //    if (Instance_UserModel == null)
    //    {
    //        Response.Redirect("/User/Login");
    //    }
    //}
}